package cn.buildworld.touching.dao;

import cn.buildworld.touching.pojo.po.OsAdvert;
import cn.buildworld.touching.pojo.po.OsAdvertExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsAdvertMapper {
    int countByExample(OsAdvertExample example);

    int deleteByExample(OsAdvertExample example);

    int deleteByPrimaryKey(Long advertId);

    int insert(OsAdvert record);

    int insertSelective(OsAdvert record);

    List<OsAdvert> selectByExampleWithBLOBs(OsAdvertExample example);

    List<OsAdvert> selectByExample(OsAdvertExample example);

    OsAdvert selectByPrimaryKey(Long advertId);

    int updateByExampleSelective(@Param("record") OsAdvert record, @Param("example") OsAdvertExample example);

    int updateByExampleWithBLOBs(@Param("record") OsAdvert record, @Param("example") OsAdvertExample example);

    int updateByExample(@Param("record") OsAdvert record, @Param("example") OsAdvertExample example);

    int updateByPrimaryKeySelective(OsAdvert record);

    int updateByPrimaryKeyWithBLOBs(OsAdvert record);

    int updateByPrimaryKey(OsAdvert record);
}